package com.xyh.bean;

/**
 * @Author: XiongYuhao
 * @Date: 2020/10/23 0023-上午 9:59
 * @Description: MyForestManagerSystem
 * @version：1.0
 */
public class Insect {//害虫类
    private int insectId;//主键id
    private String insectName;//害虫
    private String breed;//繁殖
    private String host;//寄主
    private String enemy;//天敌
    private String danger;//主要危害
    private String measures;//防治措施
    private String larvaPictures;//幼虫图片
    private String adultPictures;//成虫图片

    public Insect() {
    }

    public Insect(String insectName, String breed, String host, String enemy, String danger, String measures, String larvaPictures, String adultPictures) {
        this.insectName = insectName;
        this.breed = breed;
        this.host = host;
        this.enemy = enemy;
        this.danger = danger;
        this.measures = measures;
        this.larvaPictures = larvaPictures;
        this.adultPictures = adultPictures;
    }
    public Insect(int insectId,String insectName, String breed, String host, String enemy, String danger, String measures, String larvaPictures, String adultPictures) {
        this.insectId = insectId;
        this.insectName = insectName;
        this.breed = breed;
        this.host = host;
        this.enemy = enemy;
        this.danger = danger;
        this.measures = measures;
        this.larvaPictures = larvaPictures;
        this.adultPictures = adultPictures;
    }

    public int getInsectId() {
        return insectId;
    }

    public void setInsectId(int insectId) {
        this.insectId = insectId;
    }

    public String getInsectName() {
        return insectName;
    }

    public void setInsectName(String insectName) {
        this.insectName = insectName;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getDanger() {
        return danger;
    }

    public void setDanger(String danger) {
        this.danger = danger;
    }

    public String getBreed() {
        return breed;
    }

    public void setBreed(String breed) {
        this.breed = breed;
    }

    public String getEnemy() {
        return enemy;
    }

    public void setEnemy(String enemy) {
        this.enemy = enemy;
    }

    public String getMeasures() {
        return measures;
    }

    public void setMeasures(String measures) {
        this.measures = measures;
    }

    public String getLarvaPictures() {
        return larvaPictures;
    }

    public void setLarvaPictures(String larvaPictures) {
        this.larvaPictures = larvaPictures;
    }

    public String getAdultPictures() {
        return adultPictures;
    }

    public void setAdultPictures(String adultPictures) {
        this.adultPictures = adultPictures;
    }

    @Override
    public String toString() {
        return "Insect{" +
                "insectId=" + insectId +
                ", insectName='" + insectName + '\'' +
                ", host='" + host + '\'' +
                ", danger='" + danger + '\'' +
                '}';
    }
}
